.class public Les/s60;
.super Les/s80;
.source "ESAdbLaunchAppTask.java"


# instance fields
.field private D:Lcom/estrongs/fs/g;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/g;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Les/s80;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Les/s60;->D:Lcom/estrongs/fs/g;

    .line 3
    iput-object p1, p0, Les/s60;->D:Lcom/estrongs/fs/g;

    .line 4
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p1

    const-string v0, "title"

    invoke-virtual {p0, v0, p1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 5
    invoke-direct {p0}, Les/s60;->C()V

    return-void
.end method

.method private C()V
    .locals 5

    .line 1
    iget-wide v0, p0, Les/s80;->p:J

    const-wide/16 v2, -0x1

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    .line 2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Les/s80;->p:J

    .line 3
    :cond_0
    invoke-virtual {p0}, Les/s80;->k()J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    const-string v1, "task_id"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 4
    iget-wide v0, p0, Les/s80;->p:J

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    const-string v1, "start_time"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 5
    iget v0, p0, Les/s80;->s:I

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    const-string v1, "task_type"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/4 v0, 0x0

    .line 6
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    const-string v1, "restartable"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 7
    iget-object v0, p0, Les/s60;->D:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/n0;->b(Ljava/lang/String;)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    const-string v1, "file_type"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/4 v0, 0x1

    .line 8
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    const-string v1, "status"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    return-void
.end method


# virtual methods
.method public varargs a(I[Ljava/lang/Object;)V
    .locals 6

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eq p1, v1, :cond_1

    const/4 v2, 0x2

    if-eq p1, v2, :cond_0

    .line 1
    invoke-super {p0, p1, p2}, Les/s80;->a(I[Ljava/lang/Object;)V

    goto :goto_0

    .line 2
    :cond_0
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v2, p1, Les/w80$a;->f:J

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    add-long/2addr v2, v4

    iput-wide v2, p1, Les/w80$a;->f:J

    .line 3
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    goto :goto_0

    .line 4
    :cond_1
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v2, p1, Les/w80$a;->d:J

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    add-long/2addr v2, v4

    iput-wide v2, p1, Les/w80$a;->d:J

    .line 5
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    :goto_0
    return-void
.end method

.method public c()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public y()Z
    .locals 5

    .line 1
    iget-object v0, p0, Les/s60;->D:Lcom/estrongs/fs/g;

    invoke-static {v0}, Lcom/estrongs/fs/impl/adb/c;->b(Lcom/estrongs/fs/g;)Z

    move-result v0

    if-nez v0, :cond_0

    const/16 v1, 0x2710

    .line 2
    new-instance v2, Les/u80$a;

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v3

    const v4, 0x7f110770

    invoke-virtual {v3, v4}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    invoke-direct {v2, v3, v4}, Les/u80$a;-><init>(Ljava/lang/String;Ljava/lang/Exception;)V

    invoke-virtual {p0, v1, v2}, Les/s80;->b(ILjava/lang/Object;)V

    :cond_0
    return v0
.end method
